
{block name="content"}
<div class="think-box-shadow">
    <form action="{:request()->url()}" autocomplete="off" class="layui-form layui-card" data-auto="true" method="post" style="width:850px">
    <div class="layui-card-body padding-40">

    <div class="layui-col-xs12 relative block margin-top-10 margin-left-40">
        <span class="color-green font-w7 label-required-prev margin-left-10">城市负责人</span>
        <br>
        <div class="layui-input-inline">
            <select class="layui-select" lay-search name="uuid">
                <option value=''>-- 全部 --</option>
                {foreach $users as $k=> $user}
                {if isset($uuid_city) and $user.id eq $uuid_city}
                <option selected value="{$user.id}">{$user.name}</option>
                {else}
                <option value="{$user.id}">{$user.name}</option>
                {/if}{/foreach}
            </select>
        </div>

    </div>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        <br>
        {notempty name='id'}<input name='id' type='hidden' value='{$id}'>{/notempty}
        <div class="layui-form-item text-center">
            <button class="layui-btn" data-submit>保存数据</button>
        </div>
</form>

<script>
    /*! 表单初始化 */
    window.form.render();
</script>
{/block}